package com.example.online_order.service;

import com.example.online_order.pojo.AdminAccount;
import com.example.online_order.pojo.ClientAccount;

import java.util.List;

public interface ClientAccountService {

    public ClientAccount login(ClientAccount acc);

    public Integer addClient(ClientAccount clientAccount);

    public Integer deleteClient(Integer id);


    public Integer updateClient(ClientAccount clientAccount);


    public List<ClientAccount> getAllClient();


    public ClientAccount findClientByUsername(String username);


    public ClientAccount findClientLikeUsername(String username);

    public ClientAccount Login(ClientAccount clientAccount);

    Integer updateClientPassword(ClientAccount clientAccount);
}
